﻿<Window x:Class="EmlViewer.Viewers.HelpAboutViewer"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:emlViewer="clr-namespace:EmlViewer"
        xmlns:viewers="clr-namespace:EmlViewer.Viewers"
        Title="{x:Static emlViewer:Constants.ApplicationTitle}" 
        WindowStartupLocation="CenterScreen"
        Topmost="True"
        Icon="j0433792.png"
        Name="HelpAboutViewerWindow"
        SizeToContent="WidthAndHeight" ResizeMode="NoResize"
        
        >
    <Grid>
        <Grid Background="{StaticResource CustomGradientSkyFall}" Opacity="1"></Grid>
        <DockPanel>
            <DockPanel.Resources>
                <Style TargetType="TextBlock">
                    <Setter Property="Foreground" Value="Wheat"/>
                    <Setter Property="HorizontalAlignment" Value="Center"/>
                    <Setter Property="FontWeight" Value="Bold"/>
                </Style>
                <Style TargetType="Rectangle">
                    <Setter Property="DockPanel.Dock" Value="Top"/>
                    <Setter Property="Height" Value="20"/>
                </Style>
            </DockPanel.Resources>
            <Rectangle/>
            <TextBlock DockPanel.Dock="Top" Text="{x:Static emlViewer:Constants.ApplicationTitle}" FontSize="33"/>
            <Rectangle/>
            <TextBlock DockPanel.Dock="Top" Text="{x:Static emlViewer:Constants.ReleaseName}"/>
            <Rectangle/>
            <TextBlock DockPanel.Dock="Top" Text="{x:Static emlViewer:Constants.CopyRight}"/>
            <Rectangle/>
            <TextBlock DockPanel.Dock="Top" Text="{x:Static emlViewer:Constants.LicenseMajor}"/>
            <Rectangle/>
            <TextBlock DockPanel.Dock="Top" >
                    This application uses 'OpenPop', which is provided by: 
                      <Hyperlink Foreground="Yellow" Tag="{Binding ElementName=HelpAboutViewerWindow}" 
                                 viewers:LinkAttachedProperties.LinkOnClick="http://sourceforge.net/projects/hpop/">Source Forge ©</Hyperlink>
            </TextBlock>
            <Border DockPanel.Dock="Top" BorderBrush="SteelBlue" BorderThickness="3" Margin="55" Background="{StaticResource CustomGradientSkyFall}">
                <Border.ToolTip>
                    <TextBlock Text="Click the link to navigate to the project home page" TextWrapping="Wrap"/>
                </Border.ToolTip>
                <DockPanel Margin="40">
                    <TextBlock FontSize="18" FontStretch="Expanded" Text="For documentation and more information, please visit the project home page on ">
                      <Hyperlink Foreground="Yellow" FontSize="18" Tag="{Binding ElementName=HelpAboutViewerWindow}" 
                                 viewers:LinkAttachedProperties.LinkOnClick="https://tciemlreader.codeplex.com/">Codeplex ©</Hyperlink>
                    </TextBlock>
                </DockPanel>
            </Border>
        </DockPanel>
        <Image Source="tyburn-geoOrb.png" Height="300" Opacity="0.2"/>
    </Grid>
</Window>
